package com.xin.vip.pattern.strategy.pay;

import com.xin.vip.pattern.strategy.pay.Order;
import com.xin.vip.pattern.strategy.pay.payport.PayStrategy;

/**
 * Created by Tom.
 */
public class PayStrategyTest {

    public static void main(String[] args) {

        Order order = new Order("1","20180311001000009",1000.45);
        System.out.println(order.pay(PayStrategy.ALI_PAY));


    }

}
